package factory;

/**
 * @ClassName WithOutFactoryPatternDemo
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/2/23 06:44
 * @Version 1.0
 */
public class WithOutFactoryPatternDemo {
	public static class Product{
		private String name;
		public Product(String name) {
			this.name = name;
		}

	}

	public static void main(String[] args) {
		Product product1 = new Product("小王");
		Product product2 = new Product("小明");
		Product product3 = new Product("小从");
	}

}
